package com.kgc.server.dao;

import com.kgc.server.pojo.EasyBuyNews;
import com.kgc.server.pojo.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface IndexDao {
    public List getEasybuy_product_categoryList();

    public List getNewsList();

    public List getinformationListFy(Page page);

    public int getNewsCount();

    public int delInformationListById(@Param("id") int id);

    public List getInformation(@Param("id")int id);

    public int updataInformationById(EasyBuyNews easyBuyNews);
}
